home *** CD-ROM | disk | FTP | other *** search
/ Magnum One / Magnum One (Mid-American Digital) (Disc Manufacturing).iso / d2 / pcwiz01.arc / COPY.INS < prev    next >
Text File  |  1991-08-22  |  3KB  |  73 lines

  1. COPY     Used to DUPLICATE files (Format 1), access
  2.          DEVICES (Format 2) and to CONCATENATE (merge)
  3.          files (Format 3).
  4.  
  5. Format: 1) COPY [/*] SourceFile [/*] [DestFile] [/**]
  6.         2) COPY [/*] Source [/*] [Dest] [/**]
  7.         3) COPY [/*] SFile1+SFile2+..[/*] ConFile [/**]
  8.  
  9. Note:   [/*] = /A /B Switches [/**] = /A /B /V Switches
  10.  
  11.    /A  when used with SourceFile, Source, or SFile1,
  12.        SFile2, etc. tells DOS to read data up to, but
  13.        not including, the first Ctrl-Z (end-of-file)
  14.        character and to treat the file as an ASCII file.
  15.  
  16.  
  17.    /A  when used with DestFile, Dest, or Confile tells
  18.        DOS to write a Ctrl-Z at the end of the file.
  19.    /B  when used with SourceFile, Source, or SFile1,
  20.        SFile2, etc. tells DOS to copy the entire file
  21.        up to, and including, the last Ctrl-Z.
  22.  
  23.    /B  when used with DestFile, Dest, or ConFile will
  24.        ensure that a Ctrl-Z is NOT written to the file.
  25.  
  26.    /V  tells DOS to VERIFY that all of the specified
  27.        files were copied successfully.
  28.  
  29.    [Source] and [Dest] parameters can be either file
  30.    specifications/names or can specify a DEVICE, such
  31.    as CON (monitor), PRN (printer attached to Lpt1), or
  32.    a communications device.
  33.  
  34.    [ConFile] is the concatenated file that is created
  35.    as a result of merging/concatenting the files that
  36.    were specified as SFile1+SFile2+SFile3, etc.
  37. Example:        COPY *.* A:
  38.  
  39.    Creates duplicates (copies) of ALL files contained
  40.    in the CURRENT directory and places them on the
  41.    diskette residing on drive A.
  42.  
  43. Example:        COPY MYFILE.TXT D:\WPBAK\TEXT
  44.  
  45.    Duplicates the file in the CURRENT directory named
  46.    MYFILE.TXT and places it in the \WPBAK\TEXT sub-
  47.    directory on drive D.
  48.  
  49. Example:        COPY *.TXT *.BAK
  50.  
  51.    Creates duplicates of ALL files that have a .TXT
  52.    ext in the CURRENT directory and RENAMES the new
  53.    files with a *.BAK extention. (You now have a
  54.    complete backup set (.BAK) of all your .TXT files.)
  55. Example:        COPY CON TEXTFILE.TXT
  56.  
  57.    Creates a file named TEXTFILE.TXT that contains the
  58.    keystrokes that you type onto the monitor screen.
  59.    While on a BLANK line, press the F6 key and <ENTER>
  60.    and everything appearing on the screen will be
  61.    copied to a file named TEXTFILE.TXT.
  62.  
  63. Example:        COPY TEXTFILE.TXT LPT1
  64.  
  65.    Sends the contents of TEXTFILE.TXT to the specified
  66.    DEVICE, which in this case is your printer. The
  67.    entire contents of this file will now be printed.
  68.  
  69. Example:    COPY CHAP1.TXT+CHAP2.TXT NOVEL.TXT
  70.  
  71.    Creates a new file named NOVEL.TXT that contains ALL
  72.    of the data from the CHAP1.TXT and CHAP2.TXT files.
  73.